
export const messageBody = (data) => {
    const nowTime = new Date().getTime()
    const message = {
        "messageId": nowTime,
        "isLocal": 0,
        "type": "chat",
        "action": '3',
        "sender": data.sender,
        "receiver": data.receiver,
        "name": data.name,
        "title": "{}",
        "callTime": "",
        "content": data.content,
        "format": 0,
        "alias": "",
        "quote": "",
        "unread": 0,
        "loading": 0,
        "fail": 0,
        "readCount": 0,
        "appendixId": -1,
        "ageBegineTime": 0,
        "age": 0,
        "timestamp": nowTime,
        "createtime": nowTime,
        "extra": data.receiver,
        "id": nowTime,
        "isMeetting": true,
    }
    return message
}